package com.IT.entity;

public class User {
    private long account;
    private String password;
    private String realName;
    private char sex;
    private long telephone;
    private int authority;
    private String createDate;
    private String onDuty;
    private String departName;

    public User() {
    }

    public User(long account, String password) {
        this.account = account;
        this.password = password;
    }

    public User(long account, String realName, char sex, long telephone) {
        this.account = account;
        this.realName = realName;
        this.sex = sex;
        this.telephone = telephone;
    }

    public User(long account, String realName, char sex, long telephone, String departName) {
        this.account = account;
        this.realName = realName;
        this.sex = sex;
        this.telephone = telephone;
        this.departName = departName;
    }

    public User(long account, String password, String realName, char sex, long telephone, String createDate, String onDuty) {
        this.account = account;
        this.password = password;
        this.realName = realName;
        this.sex = sex;
        this.telephone = telephone;
        this.createDate = createDate;
        this.onDuty = onDuty;
    }

    public User(long account, String password, String realName, char sex, long telephone, String createDate) {
        this.account = account;
        this.password = password;
        this.realName = realName;
        this.sex = sex;
        this.telephone = telephone;
        this.createDate = createDate;
    }

    public User(long account, String password, String realName, char sex, long telephone,
                int authority, String createDate, String onDuty) {
        this.account = account;
        this.password = password;
        this.realName = realName;
        this.sex = sex;
        this.telephone = telephone;
        this.authority = authority;
        this.createDate = createDate;
        this.onDuty = onDuty;
    }

    public long getAccount() {
        return account;
    }

    public void setAccount(long account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    public long getTelephone() {
        return telephone;
    }

    public void setTelephone(long telephone) {
        this.telephone = telephone;
    }

    public int getAuthority() {
        return authority;
    }

    public void setAuthority(int authority) {
        this.authority = authority;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getOnDuty() {
        return onDuty;
    }

    public void setOnDuty(String onDuty) {
        this.onDuty = onDuty;
    }

    public String getDepartName() {
        return departName;
    }

    public void setDepartName(String departName) {
        this.departName = departName;
    }
}
